package com.wxapp.admin.api.pojo.vo.user;

import com.wxapp.common.constant.enums.ClientTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lgl
 * @Description 保存
 * @Datetime 2022/4/28 16:26
 * @Modified By
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QSaveVo {
    /**
     * 用户账号
     */
    @Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String loginName;

    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickName;

    /**
     * 员工号
     */
    @Schema(description = "员工号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;

    /**
     * 用户邮箱
     */
    @Schema(description = "用户邮箱", requiredMode = Schema.RequiredMode.REQUIRED)
    private String email;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String deptId;

    @Schema(description = "公司ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String companyId;
    @Schema(description = "岗位ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String jobId;

    /**
     * 用户性别（0男 1女 2未知）
     */
    @Schema(description = "用户性别（0男 1女 2未知）", requiredMode = Schema.RequiredMode.REQUIRED)
    private String sex;

    /**
     * 头像地址
     */
    @Schema(description = "头像地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String avatar;

    /**
     * 密码
     */
    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

    /**
     * 用户类型
     */
    @Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private ClientTypeEnum type;

    /**
     * 备注
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;

    @Schema(description = "角色list", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<QUserOtherVo> roleList;
}
